package com.sam.excel;

import java.util.List;

/**
 * @ProjectName: demo-excel
 * @Package: com.sam.excel
 * @ClassName: ExcelTest
 * @Description:
 * @Author: Zhixin.Zhao
 * @CreateDate: 2018/9/13 10:25
 * @Version: 1.0
 * Copyright: Copyright (c) 2018
 */
public class ExcelTest {
    public static void main(String[] args) {
        long startTime = System.currentTimeMillis();   //获取开始时间
        String path = "E:\\test\\test.xlsx";
        try {
            List<ExcelBean> list = ExcelUtils.readExcel(path);
            System.out.println(list.toString());
        } catch (Exception e) {
            e.printStackTrace();
        }
        long endTime = System.currentTimeMillis(); //获取结束时间
        System.out.println("程序运行时间： " + (endTime - startTime) + "ms");
    }
}
